package com.xof.phonecall

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import java.text.SimpleDateFormat


class MyApplication : Application() {

    companion object {
        @SuppressLint("StaticFieldLeak")
        lateinit var context: Context
        lateinit var dateTimeFormatter: SimpleDateFormat

        var IS_DEBUG = false
        var VAL_GAID: String = ""
        var VAL_IS_LIMIT_AD_TRACKING_ENABLED: Int = 0
        var VAL_FIREBASE_APP_ID = ""
        var VAL_GA4_APP_INSTANCE_ID = ""

        //目前在打的电话页面
        var outgoingCallActivity: OutgoingCallActivity? = null
    }

    @SuppressLint("SimpleDateFormat")
    override fun onCreate() {
        super.onCreate()
        context = applicationContext
        dateTimeFormatter = SimpleDateFormat("yyyy-MM-dd HH:mm:ss")

//        MyPhoneAccountManager.makeInit()
    }

}